Hardware interface and protocol for a mobile radio transceiver

ABSTRACT

A system and method for communicating control signals between a digital mobile transceiver, a digital control head, and a mobile data terminal over a common serial peripheral bus uses a message protocol and architecture which is efficient and yet provides great versatility and functionality without adding undue complexity. As mobile data terminals are becoming increasing important in digital trunked repeater systems, the efficiency provided by the signalling protocol disclosed herein (which is optimized for mobile data terminal messages) is a very important advantage.

This application is related to the following commonly-assigned U.S. patent applications: Application Ser. No. 056,922 of Childress et al filed June 3, 1987 entitled "Trunked Radio Repeater System"; Application Ser. No. 057,046 of Childress et al filed June 3, 1987 entitled "Failsoft Architecture for Public Trunking System"; Application Ser. No. 056,924 of Childress filed June 3, 1987 entitled "Adaptive Limiter/Detector which Changes Time Constant Upon Detection of Dotting Pattern"; Application Ser. No. 056,923 of Childress et al filed June 3, 1987 entitled "Apparatus and Method for Transmitting Digital Data Over a Radio Communications Channel"; This application is also related to the following commonly-assigned copending applications filed on Aug. 14, 1987: Application Ser. No. 085,572 of Nazarenko et al entitled "Processor-to-Processor Communications Protocol for a Public Service Trunking System"; Application Ser. No. 085,663 of Hall et al entitled "Radio Trunking Fault Detection System"; and Application Ser. No. 085,491 of Cole et al entitled "A Method for Infrequent Radio Users to Simply Obtain Emergency Assistance". The disclosures of each of those related copending patent applications are also incorporated by reference herein.

This invention is generally related to the art of trunked radio repeater systems. The invention more particularly relates to such repeater systems using digital control signals transmitted over a dedicated control channel while also using plural working channels which are assigned temporarily for use by individual mobile radio units.

The trunking of radio repeaters is well known. Early trunking systems used analog control signals while some more recent systems have utilized digital control signals. Control systems have been used on a dedicated control channel and/or on different ones of the working (voice) channels for various different reasons and effects. A non-exhaustive but somewhat representative sampling of publications and patents describing typical prior art trunked radio repeater systems is set forth below:

U.S. Pat. No. 3,292,178 Magnuski (1986)

U.S. Pat. No. 3,458,664 R. H. Adlhock et al (1969)

U.S. Pat. No. 3,571,519 Tsimbidis (1971)

U.S. Pat. No. 3,696,210 Peterson et al (1972)

U.S. Pat. No. 3,906,166 Cooper et al (1975)

U.S. Pat. No. 3,936,616 DiGianfilippo (1976)

U.S. Pat. No. 3,970,801 Ross et al (1976)

U.S. Pat. No. 4,001,693 Stackhouse et al (1977)

U.S. Pat. No. 4,010,327 Kobrinetz et al (1977)

U.S. Pat. No. 4,012,597 Lynk, Jr. et al (1977)

U.S. Pat. No. 4,022,973 Stackhouse et al (1977)

U.S. Pat. No. 4,027,243 Stackhouse et al (1977)

U.S. Pat. No. 4,029,901 Campbell (1977)

U.S. Pat. No. 4,128,740 Graziano (1978)

U.S. Pat. No. 4,131,849 Freeburg et al (1978)

U.S. Pat. No. 4,184,118 Cannalte et al (1980)

U.S. Pat. No. 4,231,114 Dolikian (1980)

U.S. Pat. No. 309,772 Kloker et al 1982

U.S. Pat. No. 4,312,070 Coombes et al (1982)

U.S. Pat. No. 4,312,074 Pautler et al (1982)

U.S. Pat. No. 4,326,264 Cohen et al (1982)

U.S. Pat. No. 4,339,823 Predina et al (1982)

U.S. Pat. No. 4,347,625 Williams (1982)

U.S. Pat. No. 4,360,927 Bowen et al 1982

U.S. Pat. No. 4,400,585 Kaman et al 1983

U.S. Pat. No. 4,409,687 Berti et al (1983)

U.S. Pat. No. 4,430,742 Milleker et al (1984)

U.S. Pat. No. 4,430,755 Nadir et al (1984)

U.S. Pat. No. 4,433,256 Dolikian (1984)

U.S. Pat. No. 4,450,573 Noble (1984)

U.S. Pat. No. 4,485,486 Webb et al (1984)

U.S. Pat. No. 4,578,815 Persinotti (1985)

Bowen et al is one example of prior art switched channel repeater systems which avoid using a dedicated control channel--in part by providing a handshake with the repeater site controller from a seized "idle" working channel before communication with a called unit(s) is permitted to proceed.

There are many actual and potential applications for trunked radio repeater systems. However, one of the more important applications is for public service trunked (PST) systems. For example, a single system of trunked radio repeaters may be advantageously used by an entire metropolitan area to provide efficient radio communications between individual radio units within many different agencies. Each agency may, in turn, achieve efficient communication between individual units of different fleets or subunits (e.g., the police department may have a need to provide efficient communications between different units of its squad car force, different portable units assigned to foot patrolmen, different units of detectives who are narcotics agents, and the like). Sometimes it may be important to communicate simultaneously with predefined groups of units (e.g., all units, all squad cars, all foot patrolmen, etc.). At the same time, other agencies (e.g., the fire department, the transportation department, the water department, the emergency/rescue services, etc.) may be in need of similar communication services. As is well known to those familiar with trunking theory, a relatively small number of radio repeaters can efficiently service all of these needs within a given geographical area if they are trunked (i.e., shared on an "as-needed" basis between all potential units).

The potential advantages of trunked radio repeater systems for public services are so well recognized that an organization known as the Association of Public-Safety Communications Officers, Inc. (formerly the Association of Police Communications Officers) (APCO) has developed a set of highly desirable features for such a system commonly known as the "APCO-16 Requirements." A complete listing and explanation of such requirements may be found in available publications known to those in the art.

An advantageous trunked radio repeater system is described in copending, commonly-assigned Application Ser. No. 056,922 of Childress et al entitled "Trunked Radio Repeater System" filed June 3, 1987. That application describes a trunked radio repeater system architecture in which the RF "control shelf" which receives and transmits radio frequency signals for a particular working or control channel is controlled by a microprocessor-based "trunking card" (hereafter referred to as a "GETC"--General Electric Trunking Card) which performs the signal processing functions associated with the control shelf and RF channel. A primary site controller (e.g., a minicomputer) is connected to various trunking cards, and receives digital signals from and sends digital signals to the various trunking cards. The primary site controller performs the control functions of the system (during normal system operations)--and thus performs tasks such as call logging, dynamic regrouping, and "patch" coordination as well as other, more routine control functions such as assigning channels to new calls. One or more dispatch consoles also connected to the primary site controller generate messages controlling the primary site controller and also monitor the status of the entire system via messages sent to it from the site controller.

In order to provide as much flexibility as possible to mobile radio transceiver users, mobile radio transceiver installations should be configurable in a variety of different ways. Not so long ago, mobile radio transceiver installations were limited to a trunk-mounted mobile radio transceiver unit connected via a multiple conductor cable to a dashboard-mounted control head. The control head was typically relatively simple, including only an ON-OFF switch, a volume control, a microphone with associated PTT (push to talk) and hook switches, a speaker, and receive/transmit indicator lamps, and a channel selector switch. The limited control functions provided by this type of simple control head were typically implemented with independent control lines of the multiconductor cable (e.g., the ON/OFF switch was connected to a dedicated control cable conductor, the volume control typically had its own conductor(s), the receive and transmit indicator lamps had respective dedicated conductors, etc.).

Modern "digital" mobile radio transceivers (i.e., transceivers controlled by microprocessors) are not limited to the crude control functions provided in mobile radio transceivers of the past, and are capable of interfacing with a variety of different types of equipment. For example, modern digital radio transceivers include much internal digital control circuitry (e.g., digitally-controlled frequency synthesizers, digital displays, etc.) and can be interfaced with a wide variety of different types of external equipment commonly called "options" (e.g., mobile data terminals, multiple digital control heads, and the like).

One possible way to connect such "options" to a digital radio transceiver is to provide dedicated ports on the transceiver for each type of device to be connected to it. This solution is generally unsatisfactory due to the large number of different types of devices a user may wish to connect to a particular radio transceiver. The alternate solution of customizing particular radio transceivers at the factory to interface with specific devices increases manufacturing costs and limits users to only those options anticipated at time of purchase.

A better design approach provides a general purpose serial bus within the architecture of a radio transceiver to which different types of "options" can be connected. One solution used involves a serial data bus which connects the internal microprocessor of the radio transceiver to one or more external "option" units.

Of course, serial data buses are generally old in the art. See, as one example, the publication "Basic Interfacing Techniques With Extensions", Version 2.0, Hewlett-Packard Co., Chapter 12, pages 197-256, which describes a serial data bus interface between a computer and external devices. The following (by no means exhaustive) listing of prior issued U.S. patents and prior publications are generally relevant in disclosing mobile radio transceiver architectures which include such general purpose serial data buses:

U.S. Pat. No. 4,637,022 to Burke et al (1987)

U.S. Pat. No. 4,654,655 to Kowalski (1987)

U.S. Pat. No. 4,398,265 to Puhl et al (1983)

U.S. Pat. No. 4,328,578 to Bell et al (1982)

"Motorola Data Communications Systems" Sec. 11.0 (Sept. 3, 1985).

U.S. Pat. No. 4,637,022 listed above describes a digital mobile radio transceiver including a serial data bus which connects the mobile transceiver microprocessor to various peripheral units. The serial data bus includes a transmit line for transmission of a serial data stream from the microprocessor to the peripheral devices, a receive line for transmission of a serial data stream from the peripherals to the microprocessor, and a BUSY line used to prevent more than one peripheral from transmitting on the receive line at any given time. A specialized message protocol is used to communicate messages between the microprocessor and the control head connected on the serial bus.

Although digital mobile radio architectures including general purpose serial data buses for interfacing with one or more peripheral "option" units are already generally known by those skilled in this art, further improvements are possible.

For example, it is desirable to provide as much flexibility and functionality as possible in a mobile radio serial peripheral bus architecture and associated bus protocol without making software programming inefficient and proliferating more bus commands (with their associated complexity) than needed. Many trade-offs are involved in choosing between complexity and functionality, and the choices that are made can have important impact on the long range costs of fabricating, manufacturing, troubleshooting and repairing transceivers for many years into the future, also directly impact how users interface their transceivers to peripheral devices.

Another area of improvement lies in the connection of a mobile data terminal to a transceiver serial peripheral bus. Mobile transceiver users often wish to connect a mobile data terminal to their transceivers and use the transceivers for both the communication of digital data and for voice communications. Hence, a mobile radio transceiver configuration which is becoming increasingly popular includes a radio transceiver connected to both a digital control head and a mobile data terminal (the control head being used for voice communications and the mobile data terminal, or "MDT", being used for communication of digital signals).

Mobile data terminals can be used for a variety of different functions in a vehicle (e.g., to send and receive text messages, to receive graphics such as maps and charts)--and generally are useful to perform practically any task that can be performed by a conventional display terminal connected to a computer. Unfortunately, past mobile radio transceiver architectures and peripheral bus protocols were typically not optimized for mobile data terminals, and therefore did not provide the required flexibility and/or required costly external interface components (even entire independent transceivers) for use with such terminals.

In contrast, the present invention provides a system and method for communicating control signals between a digital mobile transceiver, a digital control head, and a mobile data terminal over a common serial peripheral bus. The message protocol and architecture provided by the present invention is efficient and yet provides great versatility and functionality without adding undue complexity. These advantageous features have become very important as mobile data terminals become integral parts of trunking systems.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features and advantages of the present invention will be better and more completely appreciated by studying the following detailed description of presently preferred exemplary embodiments in conjunction with the attached sheets of drawings, of which:

FIG. 1 is a schematic block diagram of an overall trunked radio repeater system 100 of the present invention;

FIG. 2 is a more detailed schematic block diagram showing the internal components of the mobile radio transceiver 152 and control head 154 and the interface between the transceiver and the control head;

FIGS. 3A-3D are timing diagrams of exemplary signalling carried by the three-wire serial bus shown in FIG. 2;

FIG. 4 is a schematic diagram of an exemplary serial data bus message format;

FIG. 5 is a schematic block diagram of the mobile data terminal interface shown in FIG. 2; and

FIGS. 6, 7A and 7B are flowcharts of exemplary program control steps performed by the components shown in FIG. 2.

DETAILED DESCRIPTION OF THE PRESENTLY PREFERRED EXEMPLARY EMBODIMENTS Overall System Architecture

An exemplary trunked radio repeater system 100 in accordance with this invention is generally depicted in FIG. 1. System 100 includes at least one (and typically many) mobile (or portable) radio transceiving stations 150 and an RF repeater station 175. Mobile transceiving station 150 communicates via an RF link and repeater station 175 with other mobile transceiving stations and/or with landbased particles connected to the repeater station by conventional dial-up landlines.

Repeater station 175 includes a site controller 410, individual repeater channel transceivers 177, and a multiplexing telephone interconnection network ("switch", or "MTX") 179. Site controller 410 is preferably a high performance digital computer which oversees the general operation of repeater station 175. In particular, site controller 410 controls the operation of RF transceivers 177 by transmitting digital signals to and receiving digital from "trunking cards" ("TC") 400 connected between the site controller and individual transceivers (although only one transceiver 177 and one trunking card 400 are shown in FIG. 1, there typically are many such trunking card/transceiver combinations in repeater station 175--one for each RF channel the repeater station operates on.

Site controller 410 communicates with one or more dispatch consoles 102 via a "downlink" 103 which includes a "downlink" trunking card 450 and a "switch" trunking card 454. The downlink 103 also typically is channeled through switch 179. Also connected to switch 179 are AVL (automatic vehicular locating system) 181 and CAD (computer aided dispatch system) 183. A system manager console/computer station 416 is connected to site controller 410 and to switch 179 to allow a system manager to oversee and control the overall operation of system 100.

A remote receiver 187 and associated concentrator/voter 189 may be connected to trunking cards 400 to allow so-called "RSSI" signal strength measurements to be based on the stronger of the signal level received at the central repeater station site and the signal level received at a remote site--thereby increasing the reliability of such measurements.

An RF link ("RF") connects RF transceivers 177 with mobile transceiving station(s) 150. Mobile station 150 is capable of transmitting digitized voice or digital data signals (encrypted or unencrypted) to and receiving such signals from repeater station 175 over the RF link.

In the configuration shown in the upper left-hand portion of FIG. 1, mobile station 150 includes a mobile RF transceiver 152 connected to a control head 154 via a serial digital data bus 153. Mobile transceiver may also be connected to a vehicular repeater 156 via the serial bus. A mobile data terminal interface 158 may connect the serial bus to a mobile data terminal (MDT) 162, or if desired, the MDT may be connected directly to the serial bus. A separate digital voice guard module 164 performs data encryption and decryption on digitized voice and/or digital data signals using the conventional DES algorithm (or equivalent).

In the alternate mobile radio configuration shown in the lower left-hand corner of FIG. 1, a coupler 166 is used to connect dual control heads 154A, 154B to serial bus 153. In this configuration, a mobile data terminal 162 and associated interface 158 may be connected directly to serial bus 153 and/or to bus 153A (on the output of the coupler 166). Voice guard module 164 is preferably connected to bus 153A when dual control heads 154A, 154B and associated coupler 166 are used.

As illustrated, individual radio units (mobile or portable radio transceivers) of various groups communicate with one other (both within and possibly outside of their own groups) via shared radio repeater channels. A dispatch console 102 supervises the operation of repeater system 102. There may be multiple dispatch consoles 102 (one for each separate fleet of mobile/portable units) and a master or supervisory dispatch console for the entire system if desired.

Overall Description of Mobile Transceiver 152

The 16-PLUS MOBILE RADIO TRANSCEIVER 152 used in the preferred embodiment is a microprocessor-controlled digital radio transceiver having a variety of advanced functions and using the RF signalling protocol described in copending commonly-assigned application ser. No. 056,922 of Childress et al entitled "Trunked Radio Repeater System" filed June 3, 1987.

FIG. 2 is a schematic diagram of transceiver 152, control head 154, and the interface between the two. Transceiver 152 includes microprocessor 470 (an 8031 microprocessor in the preferred embodiment) including internal or external read only memory, random access memory, and electrically eraseable programmable read only memory (EEPROM) devices (the EEPROM device storing "personality" data specifying parameters of repeater systems 100 mobile transceiver 152 is authorized to access and also storing program control instructions which control the microprocessor to perform predetermined control tasks under software control). Transceiver RF circuits 474 receive RF signals from an antenna 476, demodulate those RF signals to extract the intelligence they carry, pass resulting received analog signals to analog circuits 478, and pass received digital signals to the microprocessor 470. RF circuits 474 similarly receive digital signals from microprocessor 470 and analog signals from analog circuits 478, produce an RF signal, modulate the RF signal with these analog and digital signals, and transmit the modulated RF signals (after amplification) to the repeater system via antenna 476.

The structure and operation of analog circuits 478 and RF circuits 474 are conventional and well understood by those skilled in this art. Briefly, analog circuits 478 include an audio multiplexer which selects between various audio inputs (e.g., the audio produced by control head microphone 550, decrypted voice guard audio information provided by voice guard module 164, receiver audio provided by RF circuits 474, and alert tones provided by microprocessor 470). Analog circuits 478 also include a summing device which sums the selected audio input with various digital signals provided by microprocessor 470, a level adjusting circuit which adjusts the level of the summed analog signal, and various amplifier/limiter stages which prepare the level-adjusted signal for use by RF circuits 474 to modulate the RF carrier and/or for application to control head speaker 552. RF circuits 474 include a conventional digitally-controlled frequency synthesizer controlled by digital data signals produced by microprocessor 470 and conventional RF transmitting and receiving circuitry (e.g., an intermediate frequency "strip" connected to an FM demodulator/detector, and an RF transmitter and associated modulating and RF amplifier stages).

Control head 154 includes its own microprocessor 554, a digital data display 556, a keyboard 558, and a relay 559. Audio lines 562 connect control head microphone 550 and control head speaker 552 to transceiver analog circuits 478.

Serial data bus 153 is connected between transceiver microprocessor 470 and control head microprocessor 554, and is also connected to a MDTI connector 564 mounted on the control head 154. Mobile data terminal interface (MDTI) 158 is in turn connected to connector 564, and mobile data terminal (MDT) 162 is connected to the MDTI.

Serial data bus 153 carries control commands and data between transceiver 152, control head 154 and MDTI 158 (and also between the transceiver and any other "options" connected to the transceiver). In the preferred embodiment, serial data bus 153 includes three lines: an RX data line (which carries commands and data digital signals from the "options" to transceiver microprocessor 470); a TX data line (which carries command and data digital signals from the transceiver microprocessor to the "options"); and the SERVICE REQUEST line (which is used by the "options" to request control of the transceiver RX data line in preparation for transmitting signals to the transceiver microprocessor.

The following is a more detailed description of the hardware interconnections between control head 154 and transceiver 152.

HARDWARE INTERFACE BETWEEN TRANSCEIVER AND CONTROL HEAD

The interface between the 16-PLUS mobile transceiver 152 and its options includes 38 pin GE Delta connectors (these connectors already exist and have been proven to meet all the requirements for mechanical and electrical operation). The actual interconnecting cable, which contains only 18 wires, is terminated in a single 19 pin connector in the preferred embodiment.

A detailed description of the conductors connecting transceiver 152 with external peripheral "option" devices (e.g., control head 154, MDT interface 158, vehicular repeater 156 and/or MDT 162) is given below:

SW A+, A- (#16 wire, twisted pair): provides switched power to transceiver 152 and all options.

SPRK1, SPKR2 (#16 wire, twisted pair): provides 10-watt speaker audio to the control head(s) 156 for routing to internal or external speakers.

UNSW A+ (#24 wire): provides low current backup power to options (such as voice guard 164).

IGN A+ (#24 wire): provides a sense input to transceiver 152 which can be used as an optional sense lead (e.g., to prevent transmitter keying if vehicle ignition is turned off) (this information can also be transferred as a serial message).

SHIELD (stranded shield around entire cable): provides RF protection of the cable. It is grounded to the mobile transceiver 152, passed through all options without being connected to anything else, and is left open in all control heads 154.

MIC LO/AUDIO SHIELD, MIC HI, VOICE GUARD (VG) AUDIO HI (stranded shield, #22, #24): provided shielded mic audio to the mobile transceiver 152 or other options (e.g., vehicle repeater 156) and provides decrypted audio from the voice guard option 164 to the transceiver.

VG SHIELD, VG TX DATA, VG RX DATA (stranded wire, #24, #24): provides Vol/Squelch Hi or repeated TX data from transceiver 152 to all options (namely voice guard option 164 and vehicular repeater 156), and VG encrypted data or repeated RX data or repeated voice from an option to the transceiver. The transceiver 152 is informed ahead of time about the type of audio/data to be carried by these lines.

AUX (#24 wire): provides an external input/output line which can be used for control. Transceiver 152 may use this line to control the dual control head 154 audio relay. On the vehicular repeater option 156, this line is used to input the status of the repeater enable switch of the vehicular charger option.

SERIAL TX DATA, SERIAL RX DATA, SERIAL SERVICE REQUEST (#24, #24, #24 wires): provides control access to the transceiver 152 microprocessor--all units communicate over this bus:

TX DATA: open collector output from the transceiver 152 to all options (each option has its own pull-up resistor on the line). Transceiver 152 transmits data to the other options over this serial bus line.

RX DATA: data is received by transceiver 152 from all options over the serial bus line. All options use open collector drivers. The only pull-up resistor resides in transceiver 152.

SERVICE REQUEST: Options pull this line low when they need to be polled to transfer messages to transceiver 152.

COMMAND AND DATA PROTOCOL FOR COMMUNICATION OVER SERIAL BUS

The protocol used in the preferred embodiment for communicating data and commands between transceiver microprocessor 152 and "options" (e.g., control head 154 and MDTI 158) is generally conventional (see, for example, messages described in U.S. Pat. No. 4,637,022 to Burke et al described above for an example of suitable serial bus message protocol and format). Each "option" (e.g., control head 154, MDTI 158 and MDT 162, voice guard 164, or vehicular repeater 156) is connected in parallel with all other options on serial data bus 153. In the preferred embodiment, each option has its own "instruction set" for message transfers which conform with an overall protocol. Transceiver 152 directly transfers data to all options over serial bus TX data line, since only the transceiver has authority to transmit on this line. However, since the options share the RX data line for transmitting signals to transceiver 152, no option is permitted to transmit data until it has first been polled by the transceiver.

FIG. 3A shows exemplary signalling timing for transmission of data or commands by an option (e.g., MDTI 158) to transceiver 152. At time t₁, the option "pulls down" the serial bus SERVICE REQUEST ("SERV REQ") line to inform transceiver 152 that it desires to transmit a message. Transceiver 152 senses that the serial bus SERV REQ line has been pulled down, but cannot tell which option wishes to transmit data to it. Therefore, at time t₂, transceiver 152 transmits a poll message on serial bus TX data line, and waits for receipt of a response. Only the option which has pulled down the SERV REQ line is permitted to respond to this poll (all other options sense that the SERV REQ line has been pulled down and do not attempt to respond to the poll). The option requesting communications over serial bus 153 then transmits a response to the poll on the serial bus RX data line (time t₃), this poll response specifying the address (identification) of the option. Transceiver 152 receives the option poll response, and then transmits another poll message on the serial bus TX data line (time t₄), this poll message being directed to the specific option requesting communications. When the option receives this second poll message from transceiver 152, it transmits (at time t₅) its data or command message over the serial bus RX data line to transceiver 152. The option "releases" the SERV REQ line at time t₆ to permit other options to transmit on serial bus 153.

FIG. 3B is a timing diagram of signals on serial bus 153 used to transmit a message from transceiver 152 to a selected option (e.g., MDTI 158). Because transceiver 152 is the only unit capable of transmitting on the serial bus TX data line, no preliminary polling is needed before the transceiver transmits a message. At time t₁, transceiver 152 simply transmits its message on the serial bus TX data line. Since only the options affect the state of the serial bus SERV REQ line, this line remains inactive (indicating that any option is free to request use of the serial bus RX data line by pulling down the serial bus SERV REQ line). The message transmitted by transceiver 152 on the serial bus TX data line contains a designation ("Unit ID") of the option which is to receive the message. When the designated option has correctly received the message, it transmits an acknowledge message on the serial bus RX data line (time t₂). In the preferred embodiment, an option does not need to request permission from transceiver 152 before transmitting an acknowledge on the serial bus RX data line, since a transceiver is "master" of this line and simply refuses to grant any other option the use of the line until it has received an acknowledge or no acknowledge message from the option it sent a message to or until a predetermined time period (e.g., 10 ms) has elapsed.

FIG. 3C is a timing diagram of signals appearing on serial data bus 153 when transceiver 152 attempts to transmit a message to an option but the option fails to correctly receive the message. If an option receives a message on serial bus TX data line which was intended for it but discovers an error in the message (e.g., calculated and transmitted checksum information do not match), the option requests retransmission of the message by transmitting a "retry" message on the serial bus RX data line (time t₂). Upon receiving the retry message, transceiver 152 retransmits the same message again (time t₃). If the option this time correctly receives the message, it transmits an acknowledgement message (time t₄) is the manner shown in FIG. 3B.

FIG. 3D shows the serial bus 153 signalling which occurs when a somewhat more difficult transmission error occurs. In the preferred embodiment, each message transmitted over serial bus 153 includes an indication of the number of data bytes it contains (since messages can contain a single data byte or a variable number of data bytes). When an option receives a message transmitted by transceiver 152 over bus TX data line (time t₁), it extracts the "number of data bytes" field from the message and expects to receive the number of data bytes specified by that field. If, however, the field indicates (or the option erroneously decides) that more data bytes are supposed to be sent in the message than transceiver 152 actually sends, the option assumes the checksum byte to be a data byte and waits for one or more additional bytes. After a predetermined time-out period, the option concludes that it missed some or all of the message and transmits a "retransmit" message to transceiver 152 on serial bus 153 RX data line (time t₂). Upon receiving this "retransmit" message, transceiver 152 retransmits the message from beginning to end (at time t₃) and the option acknowledges receipt of the message if it is received correctly.

If the receiving option or the transmitting transceiver 152 transmits a message which specifies that there are fewer message data byte than are actually contained in the message, the result will be a checksum error--since the receiving option will erroneously assume a data byte of the message is the last (i.e., checksum) byte, the option will transmit a "retransmit" message, and transceiver 152 will retransmit the message.

FIG. 4 is a schematic diagram of the overall format of messages transmitted over serial data bus 153. Each message includes a message type field 575, a unit id field 577, a data type field 579, a "number of data bytes" field 581, one or more data bytes 583, and a checksum field 585.

In the preferred embodiment, message type field is three bits long and specifies type of message. One of eight possible message types can be specified in message type field 575 (e.g., data transfer, no acknowledge, acknowledge, etc.).

Unit id field 577 specifies the "hardwired" address of the option to which the message is addressed (and thus the type of option the message is addressed to, e.g., MDTI, control head, vehicular repeater, etc.). The following table sets forth exemplary unit id codes used in the preferred embodiment:

    ______________________________________                                         UNIT ID         OPTION                                                         ______________________________________                                         00              VOICE GUARD 164                                                01              single type A control head                                     02              single type B control head                                     03              single type C control head                                     04              single type D control head                                     05              vehicular repeater 156                                         06              MDTI 158                                                       07              Desk top station                                               08              reserved                                                       09              dual type A control head                                       0A              dual type B control head                                       0B              dual type C control head                                       0C              dual type D control head                                       ______________________________________                                    

In the preferred embodiment, the unit id field 577 is five bits long, providing sixteen unique addresses for up to sixteen different options (in the preferred embodiment, no more than five options at a time are ever connected to transceiver 152).

Data type field 579 is either two or three bits long in the preferred embodiment, depending upon the message type. Normally, data type field is three bits long to provide up to eight different data types for each message type. However, in the preferred embodiment, data type field 579 and "number of data bytes" field 581 are contained in the same 8-bit data byte. Most options connectable to serial data bus 153 can advantageously use more than four (and often all eight) different unique data types provided by 3-bit data type field 579. If data type field 579 is three bits long, however, the "number of data bytes" field 581 can only be five bits long if both fields are to "fit" within the same byte. The "number of data bytes" field 581 specifies the number of data bytes 583 contained in the message. If the "number of data bytes" field 581 is only five bits long, than a maximum of 31 data bytes 583 can be contained in the message.

Typically, however, a stream of data produced by MDT 162 often contain more than 31 data bytes, and the messages transmitted by the MDT are only of a few (less than four) limited data types (e.g., ASCII or binary).

Accordingly, in the preferred embodiment, all messages having a message type 575 (and/or unit ID field 577) designating MDT 162 have a data type field 579 which is only two bit long, and a "number of data bytes" field 581 which is six bits long--allowing MDT 162 to include as many as 64 data bytes in the same message. Additional flexibility is thus provided by making the length of the "number of data bytes" field dependent on the message type.

MESSAGE CONTROL OF CONTROL HEAD 154 Control Head Switch Control

Control head 154 in the preferred embodiment includes two types of switches: rotary switches and push button/toggle switches. Push button/toggle switches are provided for push to talk, microphone hookswitch (operated by a "hook" or cradle on which the microphone is placed when not in use), "special call", and other functions.

Rotary switches are provided for volume control, group selection, and system selection. In the preferred embodiment, a user selects an individual or group to communicate with by selecting the "group number" corresponding to that group. The user also may select a "system number" to select between different logical sets of groups and/or different repeater sites. In the preferred embodiment, the control head group/system switches do not have stops, but are simply continuously-rotating switches with detents. Control head 154 includes conventional circuitry which senses whenever (and also how much) a rotary switch is rotated, and sends a message to transceiver 152 over serial data bus 153 indicating the direction of change in rotary switch position.

One of the messages control head 154 transmits to transceiver 152 over serial data bus 153 is a "rotary switch change" message which communicates the position of the control head volume knob. This command includes a single data byte and provides the following information: new rotary switch absolute position (5 lowest order bits B0-B4 of the data byte); an identification of the rotary switch that has changed position (bits 5,6 of the data byte); and a buffer overflow indicator (highest order bit 7 of the data byte). An exemplary typical "rotary switch change" message format is as follows:

Message type, Unit ID

Data type, number of data bytes=1

Volume level (5 bits), buffer overflow

Checksum.

However, in the preferred embodiment this "rotary switch change" message is typically not used to communicate information about the position of group and system rotary knobs. Rather, the "switch position" message used to report closure of push button/toggle switches is also used to report changes in the position of the control head group and system rotary switches. In this manner, the rotary switch (which is preferred by many public safety radio users) can be used while not limiting the range to the number of positions on the switch. A single bit is provided in the message for indicating the type of change in a control head push button/toggle switch, group rotary switch, or the system rotary switch. For push button and toggle switches, a first logic level in this bit place indicates that the switch has been released or turned OFF, and the opposite logic level indicates that the switch has been depressed or turned ON. For the rotary group and system switches, a first logic level in the data byte bit place indicates that the switch has been decremented once, and the oppsite logic level in the bit place is used to indicate the switch position has been incremented once.

The "switch position" message also includes a single bit buffer overflow indicator which indicates whenever a switch has been operated multiple times since the last "switch position" message was sent (e.g., if the user extremely rapidly depresses and releases the microphone PTT switch during a time when transceiver 152 is conducting a lengthy message conversation with another option).

In the preferred embodiment, the "switch position" message is used to report only changes in switch position, and thus, specifies the identification of a single switch (it is extremely rare that a user will intentionally change the position of more than one switch at the same time) and the nature of the change. An exemplary format for the "switch position" message in the preferred embodiment is as follows:

Message type, Unit ID

Data type, No. of Data Bytes=1

Data Byte

Checksum

where the single data byte lowest order six bits B5-B0 identifies the switch which has changed position, the bit in position B6 specifies the new switch status, and the bit in the most significant bit position B7 specifies whether a buffer overflow occurred.

Even though each "switch position" message is capable of communicating only one "increment" or "decrement" position of the group and system rotary switches, the signalling occurring over serial data bus 153 between control head 154 and transceiver 152 is so rapid that multiple messages are communicated in rapid succession as the user rapidly rotates the switches.

By translating rotary knob movement into single bit data which is in the same format as and is conveniently transmitted along with data specifying change in position of push button/toggle switches, the number of messages transmitted by control head 154 is dramatically reduced, and in addition, a special rotary message type otherwise required to report the absolute positions of rotary and system switches can be eliminated.

In the preferred embodiment control head switch status is requested by transceiver 152 whenever a power up or reset condition occurs. To request control head switch status, transceiver 152 transmits a "switch status request" message which requests the status of all push buttons and rotary switches. In response to this "switch status request" message, control head 154 transmits only a single message including multiple data bytes which specify the positions of all of the push button switches. In the preferred embodiment, control head 154 sends the type byte, bit status of the switches in the first two data bytes, followed by a byte containing the absolute position of the volume control. Although the absolute positions of the group and system rotary knobs are irrelevant (transceiver 152 being concerned only in changes in knob positions as has been described), the last byte specifies the absolute positions of the group and system rotary switches in case the need for such information arises in later versions of the transceiver 152 programming. After reset has completed, control head 154 automatically reports to transceiver 152 whenever group or system rotary knob positions change (and also whenever the position of any push button switch changes).

Control Head Display Control

Control head 154 in the preferred embodiment includes a digital display 556 having a longitudinal array of seven-segment LED (light emitting diode) alphanumeric displays. Transceiver 152 is capable of writing to selected displays in the array (in addition to performing other functions such as clearing on the entire display). In particular, transceiver 152 can send an "insert character" message to control head 154 which controls the control head to insert a character at a desired position in the array and to scroll additional characters in positions to the right of the character being inserted.

The character(s) to be inserted are specified by single data bytes defining the character values.

A typical display message in the preferred embodiment has the following exemplary format:

Message type, Unit ID

Data Type (display), No. of data bytes=6

Insert character command

Start inserting at position x

value to be displayed in position x

value to be displayed in position x+1

value to be displayed in position x+2

value to be displayed in position x+3

Checksum

This display control message is extremely versatile and flexible, and yet requires very little overhead to send and to execute.

Control Head Audio Control Command

Control head 154 in the preferred embodiment includes relay(s) 559 which can be remotely controlled by transceiver 152 to activate an external alarm and/or switch between an internal loudspeaker 552 mounted in the control head and an optional external speaker. An audio control command issued by transceiver 152 is used to control both of these functions. The audio control command is a single byte command in the preferred embodiment, and has the following exemplary format.

Message type, Unit ID

Data type, No. of Data bytes=1

data byte

Checksum

where the data byte includes a most significant bit B7 which specifies status (e.g., a first logic level=latched, a second logic level=unlatched) of a first relay (e.g., a relay which switches audio output between internal and external loudspeakers and/or switches an external alarm on and off) and the lower order bits identify which relay (speaker relay or alarm relay) is to be switched.

VEHICULAR REPEATER (VRS) 156

The vehicular repeater ("VRS") 156 serves as an interface to portable radio transceivers operated in system 100. The VRS unit 156 in the preferred embodiment is a 16-PLUS transceiver 152 operated at highband/UHF with a low power PA. The VRS unit 156 interfaces with the 16-PLUS transceiver 152 via a coupler and is directly connected via this coupler to serial bus 153. The VRS unit 156 has no displays--there is simply transfer of data and audio between the transceiver 152 and VRS unit 156. The following describes exemplary data formats used to communicate between transceiver 152 and VRS 156 on serial data bus 153.

DATA TYPE .0. VRS STATUS

The mobile 152-to-VRS 156 status message is used to inform the VRS of three pieces of information: the VRS unit id (12-bit logical id), status granted, and presence of the trunked control channel. The message is a 2-byte message with the following format: ##STR1##

The SG bit is set high in response to a status request from the VRS 156. The NCC bit is set high when the control channel is not available and communications cannot be maintained. The RS bit is set to request the VRS unit 156 to report current status. The 12-bit LID is the LID of the mobile for the selected system and should be the LID used by the transceiver 152 VRS 156 when attempting to assume priority status. Therefore, the typical message would have the following exemplary format:

    ______________________________________                                         25H         message type 1, unit id .0.5                                       .0.2H       data type .0., number data types=2                                 41H         status granted                                                     23H         LID = 123H                                                         9FH         checksum                                                           ______________________________________                                    

The VRS 156 sends a similar 1-byte status message to the transceiver 152 in order to request status or indicate that the repeater is on. The single byte is all zeroes except bit 6 (which is set to request status) and bit 5 (which is set indicating that the repeater is active). The typical message would have the following format:

    ______________________________________                                         25H         message type 1, unit id .0.5                                       .0.1H       data type .0., number data types=1                                 6.0.H       request status, repeater on                                        9EH         checksum                                                           ______________________________________                                    

DATA TYPE 1 VRS CALL PROCESSING

The call processing data type is provided to allow the VRS 156 to request a channel or the transceiver 152 to transmit a message to portable radio transceivers (either directly or via the repeater site). The message requires two bytes in either direction because the message contains the LID of the calling/called unit.

The transceiver 152 originated call processing message is used to request a priority VRS 156 to key its transmitter either because the local user pessed PTT to talk from the mobile microphone or the transceiver 152 received a call to be repeated. The following information is sent in the two bytes: LID OK (bit 7 set indicates that the high six bits of the LID are known to be correct, bit 6 set indicates the low six bits of the LID are known correct), EMER (bit 5 set if the received call is an emergency call), PTT (bit 4 set if VRS 156 should stop keying, clear if VRS should start keying). The remaining twelve bits contain the LID in the format described under data type .0.. The LID is the LID of the unit originating the call at the site. In the case of local audio where the VRS 156 should key as if it is a portable, transceiver 152 sends a LID of zero to indicate that the cell does not involve the transceiver--just the portables. If a user is keyed at the transceiver 152 and calling through the repeater system, the user's LID will be used. (Note: VRS 156 should still use the MIC HI input for the source of audio if it happens to be the priority unit). A typical message is shown below:

    ______________________________________                                         25H         message type 1, unit id .0.5                                       22H         data type 1, number data bytes=2                                   C1H         LID ok, key VRS id priority                                        23H         LID=123H                                                           3FH         checksum                                                           ______________________________________                                    

When VRS 156 receives a call from a portable, it sends a similar 2-byte message to the transceiver 152: bit 7 is zero, bit 6 controls whether speaker audio is from the transceiver or VRS (.0.=VRS audio), bit 5 set indicates the received message is an emergency message, bit 4 corresponds to PTT (.0.=key the transceiver, 1-unkey the transceiver), and the remaining twelve bits correspond to the LID which is to be used by the mobile to originate the cell (typically the VRS LID) using the data format shown in data type .0.. A typical message is shown below:

    ______________________________________                                         25H      message type 1, unit id .0.5                                          22H      data type 1, number data types=2                                      .0.1H    VRS AUD to SPKR, key mobile, not EMER                                 23H      LID=123H                                                              FFH      checksum                                                              ______________________________________                                    

DATA TYPE 4 VRS AUDIO CONTROL COMMANDS

The audio control commands are sent from the transceiver 152 to the VRS 156 to set all of the user controllable levels in the VRS. The message is a 2-byte message where the first byte is the ID of the setting to be changed (.0. for volume) and the second byte is the new level to be loaded (five lowest bits for volume). A typical message is shown below:

    ______________________________________                                         25H         message type 1, unit id .0.5                                       82H         data type 4, number data bytes=2                                   1.0.H       new volume level=16 (decimal)                                      6DH         checksum                                                           ______________________________________                                    

UNIT ID 6 MOBILE DATA TERMINAL INTERFACE (MDTI)

The mobile data terminal interface (MDTI) is an option which contains two serial ports to communicate with vendor equipment (either MDT 162 or AVL's).

The message format to/from the MDTI 158 differs from the standard serial port message in that the data type/"number of data bytes" byte is broken down differently than for the other options. That is, there are only four data types and a maximum of 63 bytes in a single transfer.

Each MDT data transfer is a 2-step process in the preferred embodiment. The MDTI 158 or the transceiver 152 must first use the TRANSFER CONTROL message to request the transfer (i.e., find out the maximum number of data types which will be accepted) and then transfer data up to that maximum.

The protocol is designed to accept both MDT 162 and AVL data from the MDTI 158. Both forms of data are handled with the data type distinguishing between the two.

There are two basic forms in which the MDTI 158 may present data to the mobile: data control and actual data. The control data type is used to receive all information needed for the header and limit the amount of data transferred as well as to abort data transfers. The data transfer is used to transmit or receive data between the transceiver 152 and the MDTI 158. AVL data is transferred as the current location or no location available.

DATA TYPE .0. MDTI DATA TRANSFER CONTROL

The TRANSFER CONTROL message is used by MDTI 158 to request the transceiver 152 to transmit data with a given set of parameters. This message is also used by the receiving transceiver 152 to set up the transfer of data from a specified source. The following information is provided in this message: status/data call, short current transfer, send data at high priority, group or individual call id (or use radio control head group and systems switch settings), port number, transmission complete, and encrypt vs. direct data. The exemplary format is shown below.

    ______________________________________                                         7     6       5       4     3     2     1      .0.                             ______________________________________                                         G     S       (       UNIT ID HIGH SIX BITS                                                                             )                                     (     UNIT ID LOW EIGHT BITS       )                                           ENC   PRI     RTS     ABT   TXC   SEL   (SPARE)                                .0.   (SRC PORT #)        (DST PORT #  )                                       (     NUMBER FREE BYTES MAX=63     )                                           ______________________________________                                    

The first two bytes of this message are used to determine the type of call when transmitted from MDTI 158 to transceiver 152. If the S bit is clear, the call is group/logical oriented and the id field contains the id to be called. The group bit is set to select the 11-bit group id and cleared to select the 14-bit logical id (if a LID of .0. is loaded, the transceiver 152 will use the current radio settings).

If the S bit is set, the MDTI 158 is specifying the new status for the radio in the lower six bits of the id field. If status is being sent, the contents of the next three bytes are ignored. The ENC bit is used to select encrypted mode. The PRI bit is set to request that the data be sent at a high priority (e.g., emergency for clear voice). The RTS bit is used by the MDTI 158 to request that data be sent from the MDTI to the transceiver 152. The transceiver 152 must respond with the same message type telling the MDTI 158 how many bytes can be transferred. The ABT bit is set if the MDTI 158 is requesting the current transfer to be stopped prior to completion. The TXC bit is set if all data has been transferred from the originator. The SEL bit is set if the transceiver 152 is to select the group/individual id from the first two bytes without originating a call. The SRC PORT # is the source port from the MDTI 58 (.0.-7) and the DST PORT # is the destination port number of the receiving MDTI (.0.-7). The "number of free bytes" field is not used by the originator.

When this message is sent by a transceiver 152 to an MDTI 158, the first two bytes are used to give the MDTI the id of the unit that originated the call. If the S bit is set, the message is a request for the MDTI 158 to provide status and the id field is zeroed. The ENC and PRI bits are currently not used. The RTS bit is used to request a data transfer from the transceiver 152 to the MDTI 158. The MDTI 158 must respond with the same message type telling the transceiver 152 how many bytes can be transferred in the preferred embodiment. The ABT bit is set to tell the MDTI 158 that the transmission was prematurely aborted. The TXC bit is set to tell the MDTI 158 that all data has been transferred. The SRC PORT # is currently not used. The DST PORT # is used to specify the destination port number of the MDTI 158.

The following is an exemplary format for the MDTI data TRANSFER CONTROL message:

    ______________________________________                                         26H         message type 1, unit id .0.6                                       .0.5H       data type .0., number of bytes=5                                   .0.1H       individual call                                                    23H         callee id=123                                                      2.0.H       request to send data clear data                                    .0.1H       source port=.0., destination port=1                                .0..0.H     null when requesting to send data                                  F9H         checksum                                                           ______________________________________                                    

DATA TYPE 1 MDT DATA TRANSFER

The data transfer message is used to transfer data between the MDTI 158 to transceiver 152 to transmit the data over a radio channel. This message is also used by transceiver 152 after it has received data to transfer the data to the MDTI 158.

The format for this message consists of the message type byte and the number of bytes transferred. The maximum number of bytes that may be transferred is 63. The actual data bytes are next, followed by the checksum.

MOBILE DATA TERMINAL INTERFACE 158

While many peripheral devices are capable of connecting directly to serial data bus 153, some devices the user may wish to connect to mobile transceiver 150 will be incapable of directly connecting to the serial data bus without being extensively modified.

For example, suppose a user wishes to connect a standard IBM PC compatible computer to transceiver 152 as a mobile data terminal 162. Such computers do not have 3-wire serial bus connections capable of connecting directly to serial data bus 153. However, such conventional off-the-shelf computers are capable of directly connecting to an RS-232D serial data bus (RS-232D being a standard promulgated by the EIA and for which much widely avaiable literature exists, as those skilled in the art are aware). The preferred embodiment includes a mobile data terminal interface ("MDTI") 158 and associated command structure to interface the 3-wire serial bus 153 with any equipment capable of interfacing with a standard RS-232D (or similar) serial data bus.

A detailed schematic diagram of mobile data terminal interface ("MDTI") 158 is shown in FIG. 5. MDTI 158 includes connectors 502, 504, 506; a serial bus interface 508; a microprocessor 510; an EEPROM 512; and USARTs ("universal synchronous/asynchronous receiver/transmitters") 514, 516.

Connector 502 is a standard DB9 connector which connects 3-wire serial bus 153 to serial bus interface 508 along with switched power and ground (connector 502 mates with control head connector 564 shown in FIG. 1). Serial bus interface 508 in turn is connected to the data port (and other connections) of a standard microprocessor 510. Microprocessor 510 is connected to a semiconductor memory device 512 which stores "personality" information defining the interface between MDTI 158 and an MDT 162 (e.g., baud rate, number of data bits, number of stop bits, parity, whether XON/XOFF data transfers are supported, whether modem control is supported, etc.). As will be explained, MDT 162 is capable of dynamically programming the contents of memory device 512 in the preferred embodiment.

Microprocessor 510 alternately writes to and reads from USART 514 (port 0) and USART 516 (port 1). USART 514 is connected to a standard DB9 connector 504 for connection to MDT 162 or other peripheral, while USART 516 is connected to a standard DB9 connector 506 for connection to another MDT or other peripheral (e.g., an automatic vehicle locator system). In the preferred embodiment, connectors 504, 506, and 508 are weatherproof connectors mounted on a weatherproof metal box housing the rest of the components of MDTI 158.

USARTs 514, 516 are standard off-the-shelf components which transmit and receive serial data streams either synchronously or asynchronously, as specified by a control output from microprocessor 510. These components 514, 516 pass serial data from microprocessor 510 to MDTs 162 connected to connectors 504, 506, respectively, and pass serial data from the MDTs to the microprocessor.

Connectors 504, 506 each have the following pin configuration in the preferred embodiment:

    ______________________________________                                                     FROM MDTI   TO MDTI                                                FUNCTION PIN#     DATA    CNTRL   DATA  CNTRL                                  ______________________________________                                         Shield   1                                                                     TXD      2                        X                                            RXD      3        X                                                            RTS      4                              X                                      CTS      5                X                                                    DSR      6                X                                                    Ground   7                                                                     DTR      9                              X                                      ______________________________________                                    

In the table set forth above, the TXD line ("transmitted data") carries a serial data stream from MDT 162 to MDTI 158, while the RXD line carries a serial data stream from the MDTI to the MDT. The control lines--RTS ("request to send"), CTS ("clear to send"), DSR ("data set ready"), and DTR ("data terminal ready")--are used to control the flow of data between MDTI 158 and MDT 162 when the MDTI Is operating using modem control, as will be explained.

Connectors 504, 506 each provide a half/duplex serial link 518 which MDTI 158 operates in one of two modes: the modem-controlled binary transfer mode, and XON/XOFF data transfer without modem control.

When modem controls are disabled, the serial link 518 provided between MDTI 158 to MDT 162 has the following default characteristics: 9600 baud data transfer rate; and 10-bit data packets including 1 start bit, 7 data bits, 1 odd parity bit, and 1 stop bit. XON/XOFF data transfer control is provided by MDTI 158.

When modem controls are enabled, MDTI 158 defaults to a binary transfer mode in which no commands are accepted during a data transfer. The following describes the default characteristics of links 518 when modem controls are enabled: 9600 baud data transfer rate; and 10-bit data packets including 1 start bit, 8 data bits, 1 stop bit and no parity. When a data transfer is not in progress under modem control (as indicated by the DTR or DSR line being active), all of the normal protocol and command messages (to be described shortly) are accepted. In addition to the protocol control, hardware lines RTS and CTS can be used to regulate the flow of data (as will be described). If ASCII data is transferred under modem control, MDTI 158 will accept XON/XOFF commands during transfers to regulate the flow of data.

FIG. 6 is a flow chart of exemplary program control steps performed by MDT 162 to transmit and receive data from MDTI 158 over link 518, and FIG. 7 is a flow chart of exemplary program control steps performed by MDTI 158 to transmit data to and receive data from MDT 162 over the link.

Referring to FIG. 6, MDT 162 first determines whether modem control has been enabled (decision block 600). If modem control has not been enabled, then data is transferred using the command protocol to be described shortly (block 602).

If modem control has been enabled, MDT 162 determines the state of the DSR Line (decision block 604). The DSR line is controlled by MDTI 158, and indicates whether or not the MDTI is ready to receive data (and also whether the MDTI wishes to transmit data to the MDT). No transfer from MDT 162 to MDTI 158 can be started until the DSR line is active.

If decision block 604 determines that the DSR line is active, MDT 162 knows it is permitted to transmit data to MDTI 158 and determines whether it has any data to transmit (decision block 606). If MDT 162 has no data to transmit, control returns to decision block 600 to determine whether modem control has been enabled. If there is data to transmit, on the other hand, MDT 162 may transmit parameters (e.g., the identification of the group or individual mobile transceiver or other station to receive the data) using the ASCII protocol commands to be explained in greater detail shortly (and using XON/XOFF to regulate data flow). After all such parameters have been transmitted to MDTI 158 (block 608), MDT 162 once again determines the state of control line DSR (since the MDTI night have issued a command via the ASCII protocol since the test of decision block 604 was performed) (block 610).

If decision block 610 determines the DSR line is still active, MDT 162 causes the DTR line to become inactive (block 612) and then waits for MDTI 158 to respond by causing the DSR line to become inactive (decision block 614). When MDTI 158 is ready to receive data, it deactivates the DSR control line, and MDT 162 begins to transmit data (block 616). While data is being transmitted, MDT 162 periodically checks the state of the DSR line (decision block 618) to determine whether it has become active (indicating the MDTI 158 has requested the MDT to abort the transmission).

If MDTI 158 causes the DSR line to become active, MDT 162 aborts the current data transmission and activates the DTR control line (block 620). If the DSR control line remains inactive, MDT 162 continues to transmit data until the transfer is complete (as tested for by decision block 620). MDT 162 indicates that data transfer is complete by activating the DTR line (block 622).

Data transmission by MDT 162 is temporarily suspended if MDTI 158 causes the CTS ("clear to send") line to become active (decision block 624). MDTI 158 causes the CTS control line to become active if, for example, its receive buffer has filled and there is consequently insufficient space to store additional data. MDT 162 waits until MDTI 158 deactivates the CTS line, and resumes data transfer at that time.

If decision 604 determines that MDTI 158 has caused the DSR control line to become active (indicating that the MDTI is to transmit data to MDT 162), the MDT deactivates the DTR control line (if it is not already deactivated) (block 626), and begins to receive data transmitted by the MDTI (block 628). If at any time the MDT receive buffer becomes full (block 630), MDT 162 deactivates the RTS ("request to send") line to temporarily suspend transmission of data by MDTI 158 (block 632). When the MDT receive buffer becomes empty once again, MDT 162 reactivates control line RTS (block 634) to permit further data to be transferred. When MDT 162 detects that the control line DSR has become active (decision block 636) (signifying that MDTI 158 is finished transmitting data), MDT 162 activates control line DTR (block 638) to positively indicate it detected the change in state of control line DSR.

FIGS. 7A and 7B are a flow of exemplary program control steps performed by MDTI 158 to transmit data to and receive data from MDT 162. The steps shown in FIG. 7 are virtually identical to those steps down in FIG. 6 for MDT 162 except that MDTI 158 activates and deactivates the DSR line instead the DTR line, and activates and deactivates the CTS line instead of the RTS line.

MDTI 158 and MDT 162 coordinate data transfers between one another using a respertoire of commands which indicate the type of data (ASCII or binary) to be transferred and/or control the data flow (set the format, stop the current data transfer or other function). Each command is preceded by a control character which resets the command parse buffer in MDT 162 and/or MDTI 158--allowing for a new command to be entered. The commands used in the preferred embodiment are summarized below:

    ______________________________________                                         NAME      NUMBER      DESCRIPTION                                              ______________________________________                                         XFERA     0           Transfer ASCII bytes                                                           until STOP command is                                                          received                                                 XFERB     1           Transfer a fixed number                                                        of binary bytes (0 to                                                          2047 bytes)                                              XFERLA    2           Transfer ASCII data one                                                        line at a time (0 to 255                                                       bytes per line) until a                                                        STOP command is received                                 FORMAT    3           Specify data format:                                                           bytes/packet,                                                                  packets/burst, and voting                                STOP      4           Terminate current                                                              command (except XFERB)                                   NULL      NO NUMBER   Cancel current data                                                            entry - used in XFERB to                                                       abort data on the                                                              current entry, reset                                                           command parse buffer                                     RETRANS-  NO NUMBER   Resend last data                                         MIT                   message                                                  ACKNOW-   NO NUMBER   Acknowledge command line                                 LEDGE                                                                          NOACK     NO NUMBER   No acknowledge command                                                         line (retransmit)                                        XON/XOFF  NO NUMBER   Controls data flow                                                             during XFERA and XFERLA                                                        modes of operation                                       PROGRAM   5           Program the MDT                                                                interface parameter                                                            (e.g., baud rate,                                                              parity, number of data                                                         bits, XON/XOFF, and                                                            modem control                                            SPECPORT  6           Specifies destination                                                          port for data                                            STATUS    7           Select/request current                                                         status                                                   ERROR     8           Informs MDT/MDTI of any                                                        error conditions                                         LOGIN     9           Used by MDTI to prevent                                                        unauthorized use of MDTI                                 ______________________________________                                          A description of each of these commands used in the preferred embodiment       follows.                                                                 

0.1 XFERA--CONTINUOUS ASCII TRANSFER

This command is used to transfer a continuous stream of ASCII characters from the MDT to a unit (e.g., the MDT of another mobile radio transceiver) specified by the MDT. The data transfer continues until a STOP command is received by the MDTI.

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>0esdtggggg<CR>                                                        (note: cntrl D = "EOT")                                                        where e,s,d,t,g                                                                           = `0`,`1`,`2`, . . . ,`9`                                           e          = encrypted data (0=nonencrypted)                                   s          = source port number (0-7)                                          d          = destination port number (0-7)                                     t          = call type:                                                                             0 - use radio settings                                                         1 - call multiple units                                                        on group `ggggg` with no                                                       acknowledges                                                                   2 - call individual                                                            `ggggg` with acknowledges                                 ggggg      = group id to call (00000 to 02047) or                                         individual id to call (00000 to 04095)                              ______________________________________                                    

EXAMPLE: <centrl D>0000201234<CR>

The above example is used to begin continuous transfer of ASCII data from the MDT to the unit with individual (or logical) ID 1234 on port 0.

0.2 XFERB--FIXED LENGTH BINARY TRANSFER

This command is issued to transfer a fixed number of binary data bytes from the MDT to the specified unit(s). Since the data is binary, no control commands embedded within the data stream are recognizable so the transfer process cannot be interrupted until all the bytes have been transmitted.

An exemplary format for this message is:

    ______________________________________                                         <cntrl D>1esdtgggggnnnn<CR>                                                    where e,s,d,t,g,n                                                                         = `0`,`1`,`2`, . . . ,`9`                                           e          = encrypted data (0=nonencrypted)                                   s          = source port number (0-7)                                          d          = destination port number (0-7)                                     t          = call type:                                                                              0 - use radio settings                                                         1 - call multiple units on                                                     group `ggggg` with no                                                          acknowledges                                                                   2 - call individual `ggggg`                                                    with acknowledges                                        ggggg      = group id to call (00000-02047) or                                            individual id to call (00000-04095)                                 nnnn       = number of binary bytes to be transferred                                     (00000-02047)                                                       ______________________________________                                    

EXAMPLE: <cntr1 D>10002012340135<CR>

The above example is used to initiate a transfer of 135 bytes of binary data from the MDT to the unit with individual (or logical) id 1234 on port 0.

0.3 XFERLA--ASCII LINE-BY-LINE TRANSFER

This command is used to transfer ASCII data line by line from the MDT to the specified unit(s). A line may contain up to 255 bytes. A complete line can be terminated by sending the NULL command sequence (to be described shortly). The XFERLA sequence can be terminated by sending the STOP command sequence.

When in the XFERLA mode, all <LF> (line feeds) generated by the MDT are ignored by the MDTI. Lines are delineated by a <CR> (carriage return characters).

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>2esdtggggg<CR>                                                        where s,d,t,g                                                                               = `0`,`1`,`2`, . . . ,`9`                                         e            = encrypt data (0=nonencrypted)                                   s            = source port number (0-7)                                        d            = destination port number (0-7)                                   t            = call type:                                                                             0 - use radio settings                                                         1 - call multiple units on                                                     group `ggggg` with no                                                          acknowledges                                                                   2 - call individual `ggggg`                                                    with acknowledges                                       ggggg        = group id to call (00000-02047) or                                            individual id to call (00000-04095)                               ______________________________________                                    

EXAMPLE: <cntrl D>2000201234<CR>

The above example is used to set-up line-by-line ASCII data from the MDT to the unit with individual (or logical) id 1234 on port 0.

0.4 FORMAT

This command is used to specify the data format to be used in the data transfer between MDT and MDTI to follow.

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>30pxxyy<CR>                                                           where p,x,y    = `0`,`1`,`2`, . . . ,`9`                                       xx             = bytes per packet                                              yy             = packets per burst                                             0              = priority.                                                                              0 - normal priority                                                            1 - high priority                                     ______________________________________                                    

<cntrl D>301632<CR>

The above example is used to specify the data format for the next command as 16 bytes per packet and 32 packets per burst at normal priority.

0.5 STOP COMMAND

This command is used to stop (complete) all data transfers except the XFERB transfer.

The exemplary format for this message is:

    <cntrl D>4<CR>

0.6 NULL COMMAND

This command is used in the XFERLA mode to terminate an input line. The line is cleared when the <cntrl D><CR> (both characters) sequence is received.

When entering a command, a <cntrl D> causes the command parse buffwer to be cleared, allowing a new command to be entered. Therefore, if an error is made on the input command line, it can be cleared by sending <cntrl D> and sending the correct command. If a <cntrl D><CR> is received (e.g., by the MDT), a <CR><LF> will be echoed back to cause the MDT to go to the next line.

The exemplary format for this message is:

    <cntrl D><CR>(C<CR> is optional)

0.7 RETRANSMIT

This command is used to request that a data message be retransmitted in either direction. When a "dumb" MDT is used, this message causes display of "RTR" at the end of the line as a visual indicator to re-enter the data and also sounds the terminal bell. For an intelligent MDT, the sequence requests the data to be retransmitted automatically and can be used in either direction.

The exemplary format for this message is:

    <cntrl D>RTR<cntrl G><CR>

0.8 ACKNOWLEDGE

This message is used to acknowledge command or data transfers. If t=<LF>, the message is used to acknowledge a command line. If a "dumb" terminal is used as the MDT, the message will cause the MDT to reset the terminal cursor to the start of the next line. If an "intelligent" MDT is used, the command is simply an acknowledge that the two units are now ready to transfer another command or additional data. If t=0, the message is used to acknowledge data transfers. If t-1, the message is used by the MDTI to request an overall message acknowledge prior to sending the final acknowledge over the RF path. The MDT should respond to this request with an ACK if the message is OK or with a NOACK if a complete retransmit is necessary.

The exemplary format for this message is:

    <cntrl F>t<CR>(note: F="ACK")

0.9 NOACKNOWLEDGE

The exemplary format for this message is:

    <cntrl U>RTR<CR>(note: cntrl U="NAK")

This message is used to request retransmission of a command line. If a "dumb" terminal is used for MDT 162, the message will display an "RTR" at the end of the command line and move the cursor to the start of the current line (i.e., no <LF>). An "intelligent" MDT will automatically retransmit the command line in response to this message.

0.10 XON/XOFF

The exemplary format for this data is:

    <cntrl S>OR<cntrl Q>(note: or "DC1"/"DC3")

These control command are accepted/issued when the MDTI 158 is in an ASCII data transfer mode. They are used to stop and start data transfers when the internal buffers are full. In the binary transfer mode (XFERB), the modem control lines CTS, RTS are the only way to temporarily stop the data transfer.

0.11 PROGRAM

The exemplary format for this data is:

    ______________________________________                                         <cntrl D>5nbbbbdpsxmac<CR>                                                     where n,b,d,x,m,a                                                                          = `0`,`1`.`2`, . . . ,`9` and                                      p           = `N`,`O`,`E`                                                      n           = port number (0-7)                                                bbbb        = baud rate - 0300,1200,2400,4800,9600                             d           = number of data bits (7 or 8)                                     s           = number of stop bits (0,1, or 2)                                  p           = parity - none (use as stop bit), odd, or                                     even                                                               x           = XON/XOFF  1 - MDT supports                                                   control     XON/XOFF                                                                       0 - MDT does not                                                               support XON/XOFF                                       m           = modem     1 - MDT supports                                                   control -   hardware modem                                                                 control                                                                        0 - MDT does not                                                               support hardware                                                               modem control                                          a           = AVL/MDT - 0 - specified port                                                             is an MDT port                                                                 1 - specified port                                                             is an AVL port                                         c           = port      0 - no                                                             concentrator                                                                               concentrator, second                                                           port can be enable                                                             for MDT communication                                                          1 - port concentrator                                                          enabled                                                ______________________________________                                          Note: if a port concentrator is used, only one of the MDTI 158 ports 504,      506 should be defined as an MDT port. If a concentrator is not used, both      ports 504, 506 can be used for MDT communication. (Note: A 1 will only be      accepted in the defintion of port 0.)                                    

This command is used to change the current setting of the MDTI 158 to MDT 162 interface. The command is required at the line of initial configuration and when changed, it becomes the new permanent setting (i.e., it is stored in the EEPROM 512).

EXAMPLE: <D>5024008N21000<CR>

The above example changes the MDT port interface to 2400 baud, 8 bit data, no parity, 2 stop bits, XON/XOFF enabled, modem control disabled, no port concentrator.

0.12 SPECPORT

This command is used to change the destination for all data from a given port on MDTI 158. Once specified, the MDTI 158 will transmit data to that port until another SPECPORT command is issued. The MDTI processes all received data regardless of which port it is received on no matter what port is specified by the SPECPORT status. The default at power-up is to direct all data to port 0 (which by definition is the MDT, not AVL port). The main use of this command is to allow the AVL port to be used as a second MDT port.

The exemplary format for this data is:

    ______________________________________                                         <cntrl D>6alsdtggggg<CR>                                                       where a,l,s,d,t,g                                                                           = `0`,`1`,`2`, . . . ,`9`                                         a            = code for the originating device                                 1            = line/local select                                                                          0 - locally                                                                    directed data                                                                  1 - transmit data                                                              over RF                                             s            = source port number (0-3)                                        d            = destination port number (0-3)                                   t            = id type -   0 - use radio                                                                  settings                                                                       1 - select group                                                               `ggggg`                                                                        2 - select                                                                     individual `ggggg`                                  ggggg        = group id to call (00000-02047) or                                            individual id to cal1 (00000-04095)                               ______________________________________                                    

EXAMPLE: <cntrl D>60001000000<CR>

The above example directs all port 0 activity to be locally directed to port 1 with no id specified.

0.13 STATUS

This message is used by the MDT 162 to set the status/message type of the mobile 150. The mobile 150 allows for one status and one message at any given time, so no port number is attached to this message. Any port can send the message--with the last one received updating the state of the radio 150. When using this message, the MDT 162 uses type 1 or 2 to alert the mobile 150 of the status or message. If the MDT 162 is a controller, the controller uses type 0 to request a status, and then specifies the logical id to be called for single unit or the group to be called if subsequent polling of a group is to be done on the working channel. Once an ACKNOWLEDGE is received, the controller then polls any desired unit using the above message until a STOP command is received.

When the mobile 150 receives a request for status, it will broadcast the message to all known ports using type 0 to indicate the request for status. The MDT 162 will then display the appropriate message on the screen requesting the user to update current status. If the mobile 152 does not get a response in the allowable time, it will send the last known status.

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>7tlggggg<CR>                                                          where t,l,g                                                                               = `0`,`1`,`2`, . . . ,`9`                                           t          = status type -                                                                               0 - request status                                                             1 - send status                                                                2 - send message                                     1          = group/logical -                                                                             0 - for group                                                                  status request                                                                 1 - for individual                                                             status request                                       ggggg      = status/message number (00-31) or                                             group/logical id for status request                                 ______________________________________                                    

0.14 ERROR

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>8ee<CR>                                                               where e = `0`.`1`,`2`, . . . ,`9`                                              ee      = error code-                                                                               00 = site not available                                                        (e.g., out of range)                                                           01 = requested call denied                                                     02 = requested call pending                               ______________________________________                                    

This message is used to inform the MDT 162 when a call fails to be processed. If the site is not available, the message will be sent back in response to the XFERA, XFERLA, or XFERB commands. In binary mode, the MDTI 158 will not permit an acknowledge to MDT 162 if the site is not available. If the site responds to a request with a call pending or call denied, the MDT 162 will be so informed that the call is pending (up to 30 seconds). If no response is heard within that time, the MDT 162 should request the call again if so desired. If the call is denied (e.g., the user is not allowed on a particular system), error code 2 is sent indicating the mobile 152 will take no further action.

0.15 LOGIN

The exemplary format for this message is:

    ______________________________________                                         <cntrl D>9111111111<CR>                                                        where 1             = `0`,`1`.`2`, . . . ,`9`                                  111111111           = login code                                               ______________________________________                                    

The purpose of the login code is to prevent unauthorized access to the system by non-licensed equipment. A port is accessible only if the device sends the correct login code after power-up. When the MDTI 158 resets, it will send a <cntrl D> LOGIN: <CR> to request a login from the option (MDT 162). This number is compared with an encrypted number stored in the MDTI 158 to verify the user is allowed on the system. If a device has not logged in and requested to send data, the login request is sent instead of an ACKNOWLEDGE. Once the option sends the login code, the MDTI 158 becomes fully functional.

While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. 

What is claimed is:
 1. In a digital mobile radio transceiver including radio frequency circuit means for transmitting and receiving radio frequency signals, and a digital signal processor connected to control said radio frequency circuit means, a method of communicating signals between a peripheral device and said digital signal processor over a serial data bus having first and second data lines and a service request line, said method comprising the steps of:(1) seizing control of said service request line with said peripheral device; (2) receiving, with said peripheral device, a poll message passed over said first data line in response to seizure of said service request line; (3) applying, with said peripheral device, a preset identification code to said second data line in response to receipt of said poll message; (4) receiving, with said peripheral device a further poll message passed over said first data line in response to application of said identification code to said second line, said further poll message including said preset identification code; (5) applying, with said peripheral device, a data and/or command message to said second data line in response to receipt of said further poll message; and (6) releasing said service request line.
 2. A method as in claim 1 wherein said applying step (5) includes applying the following in sequence to said second data line:(a) a 3-bit message type value which specifies a type of message; (b) a 5-bit unit identification code; (c) a data type value specifying a data type; (d) a data byte number value specifying a number of data bytes to follow, the sum of the number of bits in said data byte number value and the number of bits in said data type value being equal to eight; (e) plural data bytes, the quantity of said data bytes being equal to the number specified by said data byte number value; and (f) an error-checking value.
 3. A method as in claim 2 wherein said data byte number value is five bits in length.
 4. A method as in claim 2 wherein said data byte number value is six bits in length.
 5. In a digital mobile radio transceiver including radio frequency circuit means for transmitting and receiving radio frequencies, and a digital signal processor connected to control said radio frequency circuit means, a method of communicating between peripheral units and said digital signal processor over a serial data bus having first and second data lines and a service request line, said method comprising the steps of:(1) detecting seizure of said service request line by a peripheral unit with said digital signal processor; (2) applying, with said digital signal processor, a poll message to said first data line in response to said detected seizure; (3) receiving, with said digital signal processor, a preset identification code passed by said peripheral unit over said second data line in response to said applied poll message; (4) applying, with said digital signal processor, a further poll message including said preset identification code to said first data line in response to receipt of said preset identification code; and (5) receiving, with said digital signal processor, a further message applied to said second data line responsive to said further poll message.
 6. A method of communicating digital data signals between a control head including a first switch having only two alternate positions and a second switch having at least three alternate positions, and a digital mobile radio frequency receiver adapted for connection to said control head via a serial data bus, said method including:(1) sensing a change in position of said first switch and sensing the absolute position of said first switch; (2) sensing a change in position of said second switch and sensing the direction of such position change; and (3) generating a switch position message if said sensing steps (1) and (2) reveal a change in position of either of said first and second switches, said message including:(a) a plural bit value identifying which of said first and second switches has changed position, and (b) a single bit value which indicates (b1) the absolute position of said first switch if said sensing step (1) reveals first switch has changed position, and (b2) the direction of the positional change of said second switch of said sensing step (2) reveals said second switch has changed position.
 7. A method of communicating digital data signals between (1) a control head including a longitudinal array of discrete single character alpha-numeric displays 1, . . . ,x,x+1, . . . ,N, and (2) a digital mobile radio frequency transceiver adaptable for connection to said control head via a serial data bus, said method including:(1) receiving an insert character message including the following:an insert character command, a value x specifying one of said discrete displays in said array, and M values each indicating the character to be displayed, M being an integer greater than 1; (2) scrolling the characters displayed by said displays M positions in a preset direction along said array beginning at the display specified by said value x such that the character formerly displayed by display x is displayed by display x+N; (z3) displaying the first of said M values with the display specified by said value x; and (4) displaying the rest of said M values in displays x+1, . . . ,x+M-1.
 8. A method of communicating digital data signals between (1) a control head including a loudspeaker and an alarm indicator, and (2) a digital mobile radio frequency transceiver adapted for connection to said control head via a serial data bus, said method including:receiving a serial audio control command having a message byte including a most significant bit which specifies on/off status and at least one lower order bit specifying one of said loudspeaker and said alarm indicator; and controlling the one of said loudspeaker and said alarm indicator specified by said lower order bit in accordance with the on/off status specified by said most significant bit.
 9. A digital mobile radio transceiver including:radio frequency circuit means for transmitting and receiving radio frequency signals; a digital signal processor means connected to control said radio frequency circuit means; a serial data bus having first and second data lines and a service request line, said bus connected to said processor means; means connected to said bus for seizing control of said service request line; means connected to said bus for receiving a poll message passed over said first data line in response to seizure of said service request line; first applying means connected to said bus for applying a preset identification code to said second data line in response to receipt of said poll message; means connected to said bus for receiving a further poll message passed over said first data line in response to application of said preset identification code to said second line, said further poll message including said preset identification code; second applying means connected to said bus for applying a data and/or command message to said second data line in response to receipt of said further poll message; and means connected to said bus for releasing said service request line.
 10. A transceiver as in claim 9 wherein said second applying means includes means for applying the following in sequence to said second data line:(a) a 3-bit message type value which specifies a type of message; (b) a 5-bit unit identification code; (c) a data type value specifying a data type; (d) a data byte number value specifying a number of data bytes to follow, the sum of the number of bits in said data byte number value and the number of bits in said data type value being equal to eight; (e) said number of data bytes, the quantity of said data bytes being equal to the number specified by said data byte number value; and (f) an error-checking value.
 11. A transceiver as in claim 10 wherein said data byte number value is five bits in length.
 12. A transceiver as in claim 10 wherein said data byte number value is six bits in length.
 13. A digital mobile radio transceiver including:radio frequency circuit means for transmitting and receiving radio frequencies; a digital signal processor connected to control said radio frequency circuit means; a serial data bus, having first and second data lines and a service request line, connected to said digital signal processor wherein said digital signal processor includes:means connected to said data bus for detecting seizure of said service request line by a peripheral unit also connected to said serial data bus; means connected to said data bus for applying a poll message to said first data line in response to said detected seizure; means connected to said data bus for receiving a preset identification code passed by said peripheral unit over said second data line in response to said applied poll message; means connected to said data bus for applying a further poll message including said preset identification code to said first data line in response to receipt of said preset idenitfication code; and means connected to said data bus for receiving and processing a further message applied to said second data line responsive to said further poll message.
 14. A control head adapted for connection to a digital radio transceiver, said control head including:a first switch having only two alternate positions; a second switch having at least three alternate positions; means for sensing a change in position of said first switch and for sensing the absolute position of said first switch; means for sensing a change in position of said second switch and for sensing the direction of such position change; and means connected to said first and second sensing means for generating a switch position message if either sensing means reveals a change in position of said first and/or second switches, said message including:a value identifying which of said first and second switches has changed position, and a value which indicates the absolute position of said first switch if said first-mentioned sensing means reveals first switch has changed position, and the direction of the positional change of said second switch if said second-mentioned sensing means reveals said second switch has changed position.
 15. A digital radio transceiving system comprising:a control head including a longitudinal array of discrete single character alpha-numeric display means 1, . . . , x, x+1, . . . , N; and a digital mobile radio frequency transceiver adaptable for connection to said control head; a serial data bus connected between said control head and said transceiver; means connected to said data bus for receiving an insert character message including the following: an insert character command, a value x specifying one of said discrete displays in said array, and M values each indicating the character to be displayed, M being an integer greater than 1; means connected to said receiving means and said control head display means for scrolling the characters displayed by said displays M positions in a preset direction along said array beginning at the display specified by said value x such that the character formerly displayed by display x is displayed by display x+N; said display means for displaying the first of said M values with the display specified by said value x, and for displaying the rest of said M values in displays x+1, . . . , x+M-1.
 16. A digital radio transceiving system comprising:a control head including a loudspeaker and an alarm indicator; a digital radio frequency transceiver adapted for connection to said control head via a serial data bus; means connected to said data bus for receiving a serial audio control command having a message byte including a most significant bit which specifies on/off status and at least one lower order bit specifying one of said loudspeaker and said alarm indicator; and means connected to said receiving means and operatively coupled to said loudspeaker and to said alarm indicator for controlling the one of said loudspeaker and said alarm indicator specified by said lower order bit in accordance with the on/off status specified by said most significant bit.
 17. In a digital mobile communications system including (1) a digital mobile radio frequency transceiver including radio frequency circuit means for transmitting and receiving radio frequency signals and a digital signal processor connected to control said radio frequency circuit means, (2) a peripheral unit, and (3) a serial data bus connecting said digital mobile radio frequency transceiver to said peripheral unit, said serial data bus having first and second data lines and a service request line, a method of communicating between said peripheral unit and said digital signal processor over said serial data bus including the steps of:(1) seizing control of said service request line with said peripheral unit; (2) detecting said seizure of said service request line with said processor, (3) applying, with said processor, a poll message to said first data line in response to said detected seizure, (4) receiving, with said peripheral unit, said poll message passed over said first data line by said processor in response to seizure of said service request line; (5) applying a preset identification code to said second data line with said peripheral unit in response to receipt of said poll message; (6) receiving, with said processor, said preset identification code passed by said peripheral unit over said second data line in response to said applied poll message, (7) applying a further poll message to said first data line with said processor in response to receipt of said preset identification code, said further poll message including said preset identification code, (8) receiving, with said peripheral unit, said further poll message passed over said first data line in response to application of said identifiction code to said second line, said further poll message including said preset identification code; (9) applying a data and/or command message to said second data line with said peripheral unit in response to receipt of said further poll message; (10) receiving said further message applied to said second data line with said processor; and (11) releasing said service request line with said peripheral unit.
 18. A method as in claim 17 wherein said peripheral unit comprises a control head including a first switch having only two alternate positions and a second switch having at least three alternate positions, and said applying step (9) includes the steps of:(i) sensing a change in position of said first switch and sensing the absolute position of said first switch; (ii) sensing a change in position of said second switch and sensing the direction of such position change; (iii) generating a switch position message if said sensing steps (i) and (ii) reveal a change in position of either of said first and second switches, said message including:(a) a plural bit value identifying which of said first and second switches has changed position, and (b) a single bit value which indicates (b1) the absolute position of said switch if said sensing step (i) reveals first switch has changed position, and (b2) the direction of the positional change of said second switch of said sensing step (ii) reveals said second switch has changed position; and (iv) apply said switch position message to said second data line.
 19. A method as in claim 17 wherein said peripheral unit comprises a control head including a longitudinal array of discrete single character alpha-numeric displays 1, . . . ,x,x+1, . . . ,N and said method further includes the steps of:(i) receiving an insert character message including the following:an insert character command, a value x specifying one of said discrete displays in said array, and M values each indicating the character to be displayed, M being an integer greater than 1; (ii) scrolling the characters displayed by said displays M positions in a preset direction along said array beginning at the display specified by said value x such that the character formerly displayed by display x is displayed by display x+N; (iii) displaying the first of said M values with the display specified by said value x; and (iv) displaying the rest of said M values in displays x+1, . . . ,x+M-1.
 20. A method as in claim 17 wherein said peripheral unit comprises a control head including a loudspeaker and an alarm indicator, and said method further includes the steps of:(i) receiving a serial audio control command having a message byte including a most significant bit which specifies on/off status and at least one lower order bit specifying one of said loudspeaker and said alarm indicator; and (ii) controlling the one of said loudspeaker and said alarm indicator specified by said lower order bit in accordance with the on/off status specified by said most significant bit.
 21. A method of operating a mobile data communications system, said system including a mobile data terminal, a mobile data terminal interface and a digital radio transceiver, said mobile data terminal interface communicating with said transceiver via a first serial data link connected therebetween, said mobile data terminal interface and said mobile data terminal communicating via a further serial data link connected therebetween, said method comprising:(a) programming said interface including:(a1) generating at least one control character indicating programming is to occur; (a2) generating a character n specifying a port; (a3) generating plural characters b specifying a baud rate; (a4) generating a character d specifying the number of data bits to be contained in each data byte; (a5) generating a character s specifying the number of stop bits to terminate each data byte; (a6) generating a character p specifying the type of parity calculation to be performed; (a7) generating a character x specifying whether XON/XOFF control is supported, (a8) generating a character m specifying whether modem control is supported; (a9) generating a character specifying whether the port specified by said character n is connected to a mobile data terminal or to an automatic vehicular locator; (a10) generating a character c specifying whether a port different from the port specified by said character n can be enabled for connection to a further mobile data terminal; and (a11) applying said characters generated by said steps (a1)-(a10) to said mobile data terminal interface via said first serial data link; and (b) transferring digital data between said mobile data terminal and said mobile data terminal interface over said further serial data link including:(b1) generating a control character specifying the form of data transfer; (b2) generating a character e indicating whether said digital data is encrypted; (b3) generating characters s, d identifying a source and a destination port, respectively; (b4) generating a character t identifying a type of radio transmission used to convey said digital data; (b5) generating plural characters identifying radio unit(s) originating and/or to receive said digital data; (b6) passing said character generated by said steps (b1)-(b5) over said further serial data link; and (b7) transferring digital data over said first serial data link in the form specified by said control character generated by said step (b1). 